package com.neusoft.demo5;

public class Penguin extends Pet {
    @Override
    public void toHospital() {
        this.setHealth(70);
        System.out.println("医疗、打针.....");
    }

    public void swimming() {
        System.out.println("swimming......");
    }
}
